
package com.fanfanwang.ffw.app.common;

import android.util.Log;

public class LogUtil {
	public static boolean isLog = true;
	  public static void e(String tag, String methodName ) {
	    	if(isLog)
	        Log.e(tag, methodName+"------>"+methodName);
	    }
    public static void e(String tag, String methodName , Object msg) {
    	if(isLog)
        Log.e(tag, methodName+"------>"+msg);
    }
    public static void i(String tag, String methodName ,Object msg) {
    	if(isLog)
    		Log.i(tag, methodName+"------>"+msg);
    }

    public static void d(String tag, String methodName , Object msg) {
    	if(isLog)
        Log.d(tag, methodName+"------>"+msg);
    }

    public static void d(String message, Object... args) {
    	if(isLog)
        d("ffw", String.format(message, args));
    }
}
